The Imagick class
PHP Manual

Imagick::quantizeImage

(PECL imagick 2.0.0)

Imagick::quantizeImageAnalyzes the colors within a reference image

Descripción

bool Imagick::quantizeImage ( int $numberColors , int $colorspace , int $treedepth , bool $dither , bool $measureError )
Warning

Esta función no está documentada actualmente, solamente se encuentra disponible la lista de parámetros.

Lista de parámetros

numberColors

colorspace

treedepth

dither

measureError

Valores retornados

Returns TRUE on success.

Errors/Exceptions

Throws ImagickException on error.


The Imagick class
PHP Manual